package com.diaohw.platform.framework.db.flex.obj.tables;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

public class BaseTableDef extends TableDef {

    /**
     * ID
     */
    public final QueryColumn ID = new QueryColumn(this, "ID");
    /**
     * 创建时间
     */
    public final QueryColumn CREATED_TIME = new QueryColumn(this, "created_time");
    /**
     * 更新时间
     */
    public final QueryColumn UPDATED_TIME = new QueryColumn(this, "updated_time");
    /**
     * 创建人
     */
    public final QueryColumn CREATED_BY = new QueryColumn(this, "created_by");
    /**
     * 更新人
     */
    public final QueryColumn UPDATED_BY = new QueryColumn(this, "updated_by");

    /**
     * 所有字段。
     */
    public final QueryColumn AllColumns = new QueryColumn(this, "*");

    protected BaseTableDef(String schema, String tableName) {
        super(schema, tableName);
    }

    protected BaseTableDef(String schema, String name, String alisa) {
        super(schema, name, alisa);
    }

}
